const homePageRoutes = [
  {
    name: 'dashboard',
    path: '/dashboard',
    meta: {
      title: '仪表盘',
      icon: 'icon-dashboard',
      type: 'M',
      affix: true
    },
    component: () => import('@/views/dashboard/index.vue')
  },
  {
    name: 'info'         ,
    path: '/info',
    meta: {
      title: '修改密码',
      icon: 'icon-user',
      type: 'M',
      hidden:true,//隐藏路由
      affix: true
    },
    component: () => import('@/views/dashboard/userInfo.vue')
  },
  {
    name: 'operationLog'         ,
    path: '/operationLog',
    meta: {
      title: '操作日志',
      icon: 'icon-bug',
      type: 'M',
      hidden:true,//隐藏路由
      affix: true
    },
    component: () => import('@/views/dashboard/operationLog.vue')
  },
  // {
  //   name: 'menu'         ,
  //   path: '/menu',
  //   meta: {
  //     title: '菜单列表',
  //     icon: 'icon-apps',
  //     type: 'M',
  //     affix: true
  //   },
  //   component: () => import('@/views/system/menu/index.vue')
  // }
]

export const homePage = {
  name: 'home',
  path: '/home',
  meta: { title: '首页', icon: 'icon-home', hidden: false, type: 'M' }
}


export default homePageRoutes
